home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
standard
/
zwritemask.z
/
zwritemask
Wrap
Text File
|
1998-10-20
|
4KB
|
67 lines
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk((((3333GGGG)))) zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk((((3333GGGG))))
NNNNAAAAMMMMEEEE
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk - specifies a write mask for the z-buffer of the current
framebuffer
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
vvvvooooiiiidddd zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk((((mmmmaaaasssskkkk))))
uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg mmmmaaaasssskkkk;;;;
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_m_a_s_k expects a mask indicating which z-buffer bitplanes are read only
and which can be written to. Z-buffer bitplanes that correspond
to zeros in the mask are read only. Z-buffer bitplanes that
correspond to ones in the mask can be written.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk specifies a mask used to control which z-buffer bitplanes are
written, and which are read only. A separate mask is maintained by each
of the framebuffers, normal, popup, overlay, and underlay. The mask
affects both writes to the z-buffer that are the result of z-buffer pixel
operation, and writes resulting from zzzzcccclllleeeeaaaarrrr operation.
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk is ignored while drawing directly to the z-buffer, as when
zzzzddddrrrraaaawwww is TRUE. In this case the current writemask applies to the z-buffer
as well as to the color bitplanes.
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk is initialized when a window is created, and when ggggccccoooonnnnffffiiiigggg is
called, to enable all z-buffer bitplanes.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
gconfig, wmpack, writemask, zbuffer, zdraw
NNNNOOOOTTTTEEEESSSS
Currently z-buffer operation is supported only in the normal framebuffer.
To insure compatibility with future releases of the GL, make calls to
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk only while draw mode is NNNNOOOORRRRMMMMAAAALLLLDDDDRRRRAAAAWWWW.
BBBBUUUUGGGGSSSS
This subroutine does not function on IRIS-4D B or G models.
IRIS-4D GT and GTX models, RealityEngine models, and the Personal Iris,
currently support a subset of z write mask functionality. Specifically,
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk either enables or disables the writing of all z-buffer
bitplanes. The mask passed to zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk will disable z-buffer writes if
it is zero; otherwise all z-buffer bitplanes are written. To assure
upward compatibility with the IRIS-4D VGX and other future models, call
zzzzwwwwrrrriiiitttteeeemmmmaaaasssskkkk with _m_a_s_k equal to either 0 or 0xFFFFFFFF when all-or-nothing
update is desired.
On Impact and Infinite Reality individual z bitplanes are not maskable.
PPPPaaaaggggeeee 1111